
import json
#ensure_ascii=False 表示在控制台能够显示中文
with open('config.json', 'r') as f:
    dev=json.load(f)

print(dev)
print(dev.keys())
print(dev.values())
print(dev["PCU"]["host"][0])
print(dev["PCU"]["username"])
print(dev["PCU"]["commands"][0])

pcu_host=dev["PCU"]["host"]
pcu_username=dev["PCU"]["username"]
